home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global whosnow, timecnt, whereto, whosnow2
- setmoviepath("dream1")
- if (whosnow = 0) or (whosnow = "sue") then
- whosnow = whosnow2
- else
- whosnow2 = whosnow
- end if
- set the keyDownScript to "cutsnd"
- repeat with i = 39 to 54
- sprite(i).visible = 0
- end repeat
- repeat with i = 61 to 65
- sprite(i).visible = 0
- end repeat
- case whosnow of
- "psy":
- y = "53,54,63"
- "doc":
- y = "41,42,43,44,61,53,54,63"
- "hat":
- y = "51,52,64,41,42,43,44,61,53,54,63"
- "poz":
- y = "51,52,64,41,42,43,44,61,53,54,63,39,40,49,50,65"
- "krp":
- y = "51,52,64,41,42,43,44,61,53,54,63,39,40,49,50,65,47,48,60,45,46,62"
- end case
- repeat with i = 1 to the number of items in y
- sprite(value(item i of y)).visible = 1
- end repeat
- case whosnow of
- "psy":
- h = 31
- "doc":
- h = 33
- "hat":
- h = 34
- "poz":
- h = 36
- "krp":
- h = "e"
- end case
- if h <> "e" then
- repeat with i = h to 37
- sprite(i).visible = 0
- end repeat
- end if
- case whosnow of
- "psy":
- timecnt = 40
- "doc":
- timecnt = 30
- "hat":
- timecnt = 30
- "poz":
- timecnt = 30
- "krp":
- timecnt = "e"
- end case
- whereto = whosnow
- if timecnt = "e" then
- sprite(76).visible = 0
- sprite(77).visible = 0
- else
- put timecnt into field "timecnt"
- end if
- repeat with i = 60 to 65
- sprite(i).visible = 0
- end repeat
- repeat with i = 67 to 74
- sprite(i).visible = 0
- end repeat
- repeat with i = 2 to 25
- set the cursor of sprite i to [105, 106]
- end repeat
- repeat with i = 39 to 53
- set the cursor of sprite i to [103, 104]
- end repeat
- whosnow = 0
- end
-